package com.lottery.system.controller.result;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author: xiaoxie
 * create: 2024-09-08 09:41
 * @BelongsProject: lottery-system
 * @BelongsPackage: com.lottery.system.controller.result
 * description: 获取奖品列表的结果
 */
@Data
public class PrizeListResult implements Serializable {
    private Integer total;
    private List<PrizeInfo> records;
    @Data
    public static class PrizeInfo implements Serializable {
        /**
         * 奖品id
         */
        private Long prizeId;
        /**
         * 奖品名字
         */
        private String prizeName;
        /**
         * 奖品图片
         */
        private String imageUrl;
        /**
         * 奖品描述
         */
        private String description;
        /**
         * 奖品价格
         */
        private BigDecimal price;
    }
}
